<template>
  <div class="not-found">
    <div class="container">
      <div class="number">404</div>
      <div class="message">页面未找到</div>
      <div class="description">抱歉，您访问的页面不存在或已被删除</div>
      <div class="actions">
        <el-button type="primary" @click="$router.push('/')">返回首页</el-button>
        <el-button @click="$router.go(-1)">返回上一页</el-button>
      </div>
    </div>
  </div>
</template>

<script setup>
// 页面未找到组件
</script>

<style lang="scss" scoped>
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

.container {
  text-align: center;
  color: white;
}

.number {
  font-size: 120px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.message {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
}

.description {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.actions {
  display: flex;
  gap: 16px;
  justify-content: center;

  .el-button {
    padding: 12px 24px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .number {
    font-size: 80px;
  }

  .message {
    font-size: 24px;
  }

  .description {
    font-size: 14px;
  }

  .actions {
    flex-direction: column;
    align-items: center;
  }
}
</style>